<%--
  Created by IntelliJ IDEA.
  User: kiyohime
  Date: 2018/9/6
  Time: 9:45
  To change this template use File | Settings | File Templates.
--%>
<%@ page import="com.htdc.web.bean.Agreement" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>

</head>
<body>
<h1>查询异常合同</h1>
<a href="#" onclick="test()">
    点击测试
</a>
<table style="background: cornflowerblue" border="1px solid black">
    <tr>
        <td>合同编号</td>
        <td>起始时间</td>
        <td>结束时间</td>
        <td>收款周期</td>
        <td>保证金</td>
        <td>免租期</td>
        <td>租赁面积</td>
        <td>租赁单价</td>
        <td>递增率</td>
        <td>状态</td>
    </tr>
    <c:forEach items="${ abnormalAgreements}" var="agreement">
        <tr>
            <td>${agreement.aid}</td>
            <td>${agreement.rentTime}</td>
            <td>${agreement.rentEnd}</td>
            <td>${agreement.cycle}</td>
            <td>${agreement.rentCash}</td>
            <td>${agreement.freeTime}&nbsp;${agreement.cycle}</td>
            <td>${agreement.area}平方米</td>
            <td>${agreement.price}元</td>
            <td>${agreement.growthRate}</td>
            <td STYLE="color: red">欠费</td>
            <td></td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
